
#include "color.h"
#include <iostream>

Color::Color()
{
    this->set(0.0f, 0.0f, 0.0f, 1.0f);
}

Color::Color(float r, float g, float b, float a)
{
    this->set(r, g, b, a);
}
void Color::set(float r, float g, float b, float a)
{
    std::cout << "Color::set: r=" << r << ", g=" << g << ", b=" << b << ", a=" << a << std::endl;
    this->_r = r;
    this->_g = g;
    this->_b = b;
    this->_a = a;
}
float Color::r()
{
    return this->_r;
}

float Color::g()
{
    return this->_g;
}

float Color::b()
{
    return this->_b;
}

float Color::a()
{
    return this->_a;
}
Color::~Color()
{
}
